package java知识点.运算符;

public class assigning {
    public static void main(String[] args)
    {
        //1.=
        int a = 10;
        System.out.println(a);//10
        //2.+=
        int b = 20;
        System.out.println(a += b);//30
        //3.-=
        System.out.println(a -= b);//10
        //4.*=
        System.out.println(a *= b);//200
        //5./=
        System.out.println(a /= b);//10
        //6.%=
    }
}
